Class UserDefinedFunction
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.dataintegration.model.UserDefinedFunction
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class UserDefinedFunction extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe user defined function type contains the audit summary information and the definition of the user defined function.
 Note: Objects should always be created or deserialized using theUserDefinedFunction.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theUserDefinedFunction.Builder, which maintain a set of all explicitly set fields calledUserDefinedFunction.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUserDefinedFunction.Builderstatic classUserDefinedFunction.ModelTypeThe type of the object.
 - 
Constructor SummaryConstructors Constructor Description UserDefinedFunction(String key, UserDefinedFunction.ModelType modelType, String modelVersion, ParentReference parentRef, String name, String identifier, Integer objectVersion, List<FunctionSignature> signatures, Expression expr, String description, Integer objectStatus, ObjectMetadata metadata, Map<String,String> keyMap)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserDefinedFunction.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDescription()Detailed description for the object.ExpressiongetExpr()StringgetIdentifier()Value can only contain upper case letters, underscore, and numbers.StringgetKey()Generated key that can be used in API calls to identify user defined function.Map<String,String>getKeyMap()A key map.ObjectMetadatagetMetadata()UserDefinedFunction.ModelTypegetModelType()The type of the object.StringgetModelVersion()The model version of an object.StringgetName()Free form text without any restriction on permitted characters.IntegergetObjectStatus()The status of an object that can be set to value 1 for shallow references across objects, other values reserved.IntegergetObjectVersion()The version of the object that is used to track changes in the object instance.ParentReferencegetParentRef()List<FunctionSignature>getSignatures()An array of function signature.inthashCode()UserDefinedFunction.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UserDefinedFunction@Deprecated @ConstructorProperties({"key","modelType","modelVersion","parentRef","name","identifier","objectVersion","signatures","expr","description","objectStatus","metadata","keyMap"}) public UserDefinedFunction(String key, UserDefinedFunction.ModelType modelType, String modelVersion, ParentReference parentRef, String name, String identifier, Integer objectVersion, List<FunctionSignature> signatures, Expression expr, String description, Integer objectStatus, ObjectMetadata metadata, Map<String,String> keyMap) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UserDefinedFunction.Builder builder() Create a new builder.
 - 
toBuilderpublic UserDefinedFunction.Builder toBuilder() 
 - 
getKeypublic String getKey() Generated key that can be used in API calls to identify user defined function.On scenarios where reference to the user defined function is needed, a value can be passed in create. - Returns:
- the value
 
 - 
getModelTypepublic UserDefinedFunction.ModelType getModelType() The type of the object.- Returns:
- the value
 
 - 
getModelVersionpublic String getModelVersion() The model version of an object.- Returns:
- the value
 
 - 
getParentRefpublic ParentReference getParentRef() 
 - 
getNamepublic String getName() Free form text without any restriction on permitted characters.Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. - Returns:
- the value
 
 - 
getIdentifierpublic String getIdentifier() Value can only contain upper case letters, underscore, and numbers.It should begin with upper case letter or underscore. The value can be modified. - Returns:
- the value
 
 - 
getObjectVersionpublic Integer getObjectVersion() The version of the object that is used to track changes in the object instance.- Returns:
- the value
 
 - 
getSignaturespublic List<FunctionSignature> getSignatures() An array of function signature.- Returns:
- the value
 
 - 
getExprpublic Expression getExpr() 
 - 
getDescriptionpublic String getDescription() Detailed description for the object.- Returns:
- the value
 
 - 
getObjectStatuspublic Integer getObjectStatus() The status of an object that can be set to value 1 for shallow references across objects, other values reserved.- Returns:
- the value
 
 - 
getMetadatapublic ObjectMetadata getMetadata() 
 - 
getKeyMappublic Map<String,String> getKeyMap() A key map.If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-