Class CustomAttribute
- java.lang.Object
-
- org.netxms.client.objects.configs.CustomAttribute
-
public class CustomAttribute extends Object
Custom attribute class
-
-
Field Summary
Fields Modifier and Type Field Description protected longflagsstatic longINHERITABLEstatic longREDEFINEDprotected longsourceObjectprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description CustomAttribute(String value, long flags, long inheritedFrom)ConstructorCustomAttribute(org.netxms.base.NXCPMessage msg, long base)Constructor form NXCPMessageCustomAttribute(CustomAttribute attr)Copy contructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetFlags()longgetSourceObject()StringgetValue()booleanisInheritable()If attribute is inheritablebooleanisInherited()If attribute is inheritedbooleanisRedefined()If attribute is redefined
-
-
-
Field Detail
-
INHERITABLE
public static final long INHERITABLE
- See Also:
- Constant Field Values
-
REDEFINED
public static final long REDEFINED
- See Also:
- Constant Field Values
-
value
protected String value
-
flags
protected long flags
-
sourceObject
protected long sourceObject
-
-
Constructor Detail
-
CustomAttribute
public CustomAttribute(org.netxms.base.NXCPMessage msg, long base)Constructor form NXCPMessage- Parameters:
msg-base-
-
CustomAttribute
public CustomAttribute(CustomAttribute attr)
Copy contructor
-
CustomAttribute
public CustomAttribute(String value, long flags, long inheritedFrom)
Constructor- Parameters:
value- valueflags- flagsinheritedFrom-
-
-
Method Detail
-
getValue
public String getValue()
- Returns:
- the value
-
getFlags
public long getFlags()
- Returns:
- the flags
-
getSourceObject
public long getSourceObject()
- Returns:
- the inheritedFrom
-
isRedefined
public boolean isRedefined()
If attribute is redefined- Returns:
- true if redefined
-
isInherited
public boolean isInherited()
If attribute is inherited- Returns:
- true if has source
-
isInheritable
public boolean isInheritable()
If attribute is inheritable- Returns:
- true if inheritable flag
-
-