public class ResourceConstraint extends Object implements IResourceConstraint
| Constructor and Description |
|---|
ResourceConstraint(IResourceDescription resourceDescription,
ILicense constraint,
String source) |
ResourceConstraint(IResourceDescription resourceDescription,
ILicense constraint,
String source,
java.time.LocalDateTime registered) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ILicense |
getLicense() |
String |
getMaintainer() |
java.time.LocalDateTime |
getRegistered() |
IResourceDescription |
getResourceDescription() |
int |
hashCode() |
static IResourceConstraint |
of(IResourceDescription resource,
ILicense license) |
static IResourceConstraint |
of(IResourceDescription resource,
ILicense license,
String maintainer) |
static IResourceConstraint |
of(IResourceDescription resource,
String identifier,
String name,
String reference,
String source,
java.time.LocalDateTime registered) |
public ResourceConstraint(IResourceDescription resourceDescription, ILicense constraint, String source)
public ResourceConstraint(IResourceDescription resourceDescription, ILicense constraint, String source, java.time.LocalDateTime registered)
public ILicense getLicense()
getLicense in interface IResourceConstraintpublic IResourceDescription getResourceDescription()
getResourceDescription in interface IResourceConstraintpublic String getMaintainer()
getMaintainer in interface IResourceConstraintpublic java.time.LocalDateTime getRegistered()
getRegistered in interface IResourceConstraintpublic static IResourceConstraint of(IResourceDescription resource, String identifier, String name, String reference, String source, java.time.LocalDateTime registered)
public static IResourceConstraint of(IResourceDescription resource, ILicense license)
public static IResourceConstraint of(IResourceDescription resource, ILicense license, String maintainer)
Copyright © 2007–2019 Andreas W. Bartels. All rights reserved.