Package security.whisper.javastix.custom
Interface StixCustomObject
- All Superinterfaces:
BundleableObject,SdoDefaultValidator,Serializable,Stix,StixCommonProperties,StixLabels,StixModified,StixRevoked,StixSpecVersion
- All Known Subinterfaces:
GenericCustomObject
- All Known Implementing Classes:
CustomObject
public interface StixCustomObject
extends StixCommonProperties, StixLabels, StixModified, StixRevoked
Provides a Generic STIX Custom Object to use for Bundleable objects when the object is not included in the mappings.
Note: Custom properties (x_) are included in the CustomObjectProperties
-
Field Summary
Fields inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
VALIDATOR -
Method Summary
Modifier and TypeMethodDescriptionMap<@Length(min=3,max=250,message="STIX Custom Properties must have a min key length of 3 and max of 250") String, Object> @StartsWith("x-") StringgetId()@StartsWith("x-") StringgetType()Methods inherited from interface security.whisper.javastix.validation.SdoDefaultValidator
validate, validateOnlyIdMethods inherited from interface security.whisper.javastix.common.StixCommonProperties
checkHydrationValidation, getCreated, getCreatedByRef, getExternalReferences, getGranularMarkings, getHydrated, getLang, getObjectMarkingRefs, toJsonStringMethods inherited from interface security.whisper.javastix.common.StixLabels
getLabelsMethods inherited from interface security.whisper.javastix.common.StixModified
getModifiedMethods inherited from interface security.whisper.javastix.common.StixRevoked
getRevokedMethods inherited from interface security.whisper.javastix.common.StixSpecVersion
getSpecVersion
-
Method Details
-
getType
@StartsWith("x-") String getType()- Specified by:
getTypein interfaceBundleableObject- Specified by:
getTypein interfaceStixCommonProperties
-
getId
@StartsWith("x-") String getId()- Specified by:
getIdin interfaceBundleableObject- Specified by:
getIdin interfaceStixCommonProperties
-
getCustomObjectProperties
-