Class CustomAttribute
java.lang.Object
org.netxms.client.objects.configs.CustomAttribute
Custom attribute class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final longprotected longstatic final longstatic final longprotected longprotected String
- 
Constructor SummaryConstructorsConstructorDescriptionCustomAttribute(String value, long flags, long inheritedFrom) Create custom attribute from scratch.CustomAttribute(NXCPMessage msg, long baseId) Constructor form NXCPMessageCopy constructor
- 
Method Summary
- 
Field Details- 
INHERITABLEpublic static final long INHERITABLE- See Also:
 
- 
REDEFINEDpublic static final long REDEFINED- See Also:
 
- 
CONFLICTpublic static final long CONFLICT- See Also:
 
- 
value
- 
flagsprotected long flags
- 
sourceObjectprotected long sourceObject
 
- 
- 
Constructor Details- 
CustomAttributeConstructor form NXCPMessage- Parameters:
- msg- NXCP message
- baseId- base field ID
 
- 
CustomAttributeCopy constructor- Parameters:
- src- source object
 
- 
CustomAttributeCreate custom attribute from scratch.- Parameters:
- value- value
- flags- flags
- inheritedFrom- ID of NetXMS object this attribute was inherited from (0 for non-inherited attributes)
 
 
- 
- 
Method Details- 
getValue- Returns:
- the value
 
- 
getFlagspublic long getFlags()- Returns:
- the flags
 
- 
getSourceObjectpublic long getSourceObject()- Returns:
- the inheritedFrom
 
- 
isRedefinedpublic boolean isRedefined()If attribute is redefined- Returns:
- true if redefined
 
- 
isInheritedpublic boolean isInherited()If attribute is inherited- Returns:
- true if has source
 
- 
isInheritablepublic boolean isInheritable()If attribute is inheritable- Returns:
- true if inheritable flag
 
- 
isConflictpublic boolean isConflict()If attribute is inheritable- Returns:
- true if inheritable flag
 
 
-